#ifndef PROGRAMME_H_
#define PROGRAMME_H_

#include <string>
#include <iostream>
#include "student.h"
#include "subject.h"

using namespace std;

class Programme{
	string p_id;
	string p_name;
	string[30] s_comp_id, s_elec_id;
	int credit_req;
	
public
	Programme();
	Programme(string i_p_id, string i_p_name, string* i_s_comp_id, string* i_s_elec_id, int credit_req);
	
	void Set_p_id(string i_p_id);
	void Set_p_name(string i_p_name);
	void Set_comp_subject_list(string* i_s_comp_id);
	void Set_elec_subject_list(string* i_s_elec_id);
	void Set_requiement(int credit_req);
	
	string Get_p_id();
	string Get_p_name();
	void Get_all_subject(Subject* inp, int &numInp, Subject* out, int &numOut);
	void Get_comp_subject(Subject* inp, int &numInp, Subject* out, int &numOut);
	void Get_elec_subject(Subject* inp, int &numInp, Subject* out, int &numOut);
	int Get_requiement();
};
#endif